package co.yixiang.retail.biz.product.mapper;

import co.yixiang.common.mproot.common.mapper.CoreMapper;
import co.yixiang.retail.common.domain.YxStoreType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;

@Mapper
public interface YxStoreTypeMapper extends CoreMapper<YxStoreType> {

    @Select("select service from yx_store_type where level = #{level}")
    BigDecimal queryByLevel(@Param("level")String level);
}
